﻿using BHan.Context;
using BHan.VM.MenuVM;
using CommunityToolkit.Mvvm.Input;
using System.Windows;
using System.Windows.Controls;

namespace BHan.View.VMenu
{
    /// <summary>
    /// PageMenu.xaml 的交互逻辑
    /// </summary>
    public partial class PageMenu : Page
    {
        public PageMenu()
        {
            InitializeComponent();
            PageMenuVM vm = App.Current.Services.GetServiceByName<PageMenuVM>("PageMenuVM");
            this.DataContext = vm;
            //vm.SearchInput = searchText;
            //vm.SearchText = searchText.Text;
        }
         

    }
}
